// NetBattle2.cpp : main project file.

#include "stdafx.h"
#include "Form1.h"
#include "QuickStart.h"
#include "TeamBuilder.h"


//BaseStats
int BaseHP[152];
int BaseAttack[152];
int BaseDefence[152];
int BaseSpeed[152];
int BaseSpecial[152];

//Types
int RBYType1[152];
int RBYType2[152];

//Stat IVs 1
int RBYAttackIV1, RBYDefenceIV1, RBYSpeedIV1, RBYSpecialIV1, RBYHPIV1;

//Stat EVs 1
int RBYAttackEV1, RBYDefenceEV1, RBYSpeedEV1, RBYSpecialEV1, RBYHPEV1;

//First Nature Mod
int RBYNature1;



//First RBY Pokemon information
int RBYDex1, RBYLevel1, RBYHP1, RBYAttack1, RBYDefence1, RBYSpecial1, RBYSpeed1;

using namespace NetBattle2;

[STAThreadAttribute]
int main(array<System::String ^> ^args)
{

	//Initiate variables
	//BaseStats none
	BaseHP[0] = 0;
	BaseAttack[0] = 0;
	BaseDefence[0] = 0;
	BaseSpeed[0] = 0;
	BaseSpecial[0] = 0;
	
	//BaseStats Bulbasaur
	BaseHP[1] = 45;
	BaseAttack[1] = 49;
	BaseDefence[1] = 49;
	BaseSpeed[1] = 45;
	BaseSpecial[1] = 65;

	//BaseStats Ivysaur
	BaseHP[2] = 60;
	BaseAttack[2] = 62; 
	BaseDefence[2] = 63;
	BaseSpeed[2] = 60;
	BaseSpecial[2] = 80;

	//BaseStats Venasaur
	BaseHP[3] = 80;
	BaseAttack[3] = 82; 
	BaseDefence[3] = 83;
	BaseSpeed[3] =  80;
	BaseSpecial[3] = 100;

	//BaseStats Charmander
	BaseHP[4] = 39;
	BaseAttack[4] = 52; 
	BaseDefence[4] = 43;
	BaseSpeed[4] =  65;
	BaseSpecial[4] = 50;

	//BaseStats Charmeleon
	BaseHP[5] = 58;
	BaseAttack[5] = 64; 
	BaseDefence[5] = 58;
	BaseSpeed[5] =  80;
	BaseSpecial[5] = 65;

	//BaseStats Charizard
	BaseHP[6] = 78;
	BaseAttack[6] = 84; 
	BaseDefence[6] = 78;
	BaseSpeed[6] =  100;
	BaseSpecial[6] = 85;

	//BaseStats Squirtle
	BaseHP[7] = 44;
	BaseAttack[7] = 48; 
	BaseDefence[7] = 65;
	BaseSpeed[7] =  43;
	BaseSpecial[7] = 50;

	//BaseStats Wartortle
	BaseHP[8] = 59;
	BaseAttack[8] = 63; 
	BaseDefence[8] = 80;
	BaseSpeed[8] =  58;
	BaseSpecial[8] = 65;

	//BaseStats Blastoise
	BaseHP[9] = 79;
	BaseAttack[9] = 83; 
	BaseDefence[9] = 100;
	BaseSpeed[9] =  78;
	BaseSpecial[9] = 85;

	//BaseStats Caterpie
	BaseHP[10] = 45;
	BaseAttack[10] = 30; 
	BaseDefence[10] = 35;
	BaseSpeed[10] =  45;
	BaseSpecial[10] = 20;

	//BaseStats Metapod
	BaseHP[11] = 50;
	BaseAttack[11] = 20; 
	BaseDefence[11] = 55;
	BaseSpeed[11] =  30;
	BaseSpecial[11] = 25;

	//BaseStats Butterfree
	BaseHP[12] = 60;
	BaseAttack[12] = 45; 
	BaseDefence[12] = 50;
	BaseSpeed[12] =  70;
	BaseSpecial[12] = 80;

	//BaseStats Weedle 
	BaseHP[13] = 40;
	BaseAttack[13] = 35; 
	BaseDefence[13] = 30;
	BaseSpeed[13] =  50;
	BaseSpecial[13] = 20;

	//BaseStats Kakuna
	BaseHP[14] = 45;
	BaseAttack[14] = 25; 
	BaseDefence[14] = 50;
	BaseSpeed[14] =  35;
	BaseSpecial[14] = 25;

	//BaseStats Beedrill
	BaseHP[15] = 65;
	BaseAttack[15] = 80; 
	BaseDefence[15] = 40;
	BaseSpeed[15] =  75;
	BaseSpecial[15] = 45;

	//BaseStats Pidgey
	BaseHP[16] = 40;
	BaseAttack[16] = 45; 
	BaseDefence[16] = 40;
	BaseSpeed[16] =  56;
	BaseSpecial[16] = 35;

	//BaseStats Pidgeotto
	BaseHP[17] = 63;
	BaseAttack[17] = 60; 
	BaseDefence[17] = 55;
	BaseSpeed[17] =  71;
	BaseSpecial[17] = 50;

	//BaseStats Pidgeot
	BaseHP[18] = 83;
	BaseAttack[18] = 80; 
	BaseDefence[18] = 75;
	BaseSpeed[18] =  91;
	BaseSpecial[18] = 70;
	
	//BaseStats Rattata
	BaseHP[19] = 30;
	BaseAttack[19] = 56; 
	BaseDefence[19] = 35;
	BaseSpeed[19] =  72;
	BaseSpecial[19] = 25;

	//BaseStats Raticate
	BaseHP[20] = 55;
	BaseAttack[20] = 81; 
	BaseDefence[20] = 60;
	BaseSpeed[20] =  97;
	BaseSpecial[20] = 50;

	//BaseStats Spearow
	BaseHP[21] = 40;
	BaseAttack[21] = 60; 
	BaseDefence[21] = 30;
	BaseSpeed[21] =  70;
	BaseSpecial[21] = 31;

	//BaseStats Fearow
	BaseHP[22] = 65;
	BaseAttack[22] = 90; 
	BaseDefence[22] = 65;
	BaseSpeed[22] =  100;
	BaseSpecial[22] = 61;

	//BaseStats Ekans
	BaseHP[23] = 35;
	BaseAttack[23] = 60; 
	BaseDefence[23] = 44;
	BaseSpeed[23] =  55;
	BaseSpecial[23] = 40;

	//BaseStats Arbok
	BaseHP[24] = 60;
	BaseAttack[24] = 85; 
	BaseDefence[24] = 69;
	BaseSpeed[24] =  80;
	BaseSpecial[24] = 65;

	//BaseStats Pikachu
	BaseHP[25] = 35;
	BaseAttack[25] = 55; 
	BaseDefence[25] = 30;
	BaseSpeed[25] =  90;
	BaseSpecial[25] = 50;

	//BaseStats Raichu
	BaseHP[26] = 60;
	BaseAttack[26] = 90; 
	BaseDefence[26] = 55;
	BaseSpeed[26] =  100;
	BaseSpecial[26] = 90;

	//BaseStats Sandshrew 
	BaseHP[27] = 50;
	BaseAttack[27] = 75; 
	BaseDefence[27] = 85;
	BaseSpeed[27] =  40;
	BaseSpecial[27] = 30;

	//BaseStats Sandslash
	BaseHP[28] = 75;
	BaseAttack[28] = 100; 
	BaseDefence[28] = 110;
	BaseSpeed[28] =  65;
	BaseSpecial[28] = 55;

	//BaseStats Nidoran F
	BaseHP[29] = 55;
	BaseAttack[29] = 47; 
	BaseDefence[29] = 52;
	BaseSpeed[29] =  41;
	BaseSpecial[29] = 40;

	//BaseStats Nidorina
	BaseHP[30] = 70;
	BaseAttack[30] = 62; 
	BaseDefence[30] = 67;
	BaseSpeed[30] =  56;
	BaseSpecial[30] = 55;

	//BaseStats Nidoqueen
	BaseHP[31] = 90;
	BaseAttack[31] = 82; 
	BaseDefence[31] = 87;
	BaseSpeed[31] =  76;
	BaseSpecial[31] = 75;

	//BaseStats Nidoran M
	BaseHP[32] = 46;
	BaseAttack[32] = 57; 
	BaseDefence[32] = 40;
	BaseSpeed[32] =  50;
	BaseSpecial[32] = 40;

	//BaseStats Nidorino
	BaseHP[33] = 61;
	BaseAttack[33] = 72; 
	BaseDefence[33] = 57;
	BaseSpeed[33] =  65;
	BaseSpecial[33] = 55;

	//BaseStats Nidoking
	BaseHP[34] = 81;
	BaseAttack[34] = 92; 
	BaseDefence[34] = 77;
	BaseSpeed[34] =  85;
	BaseSpecial[34] = 75;

	//BaseStats Clefairy
	BaseHP[35] = 70;
	BaseAttack[35] = 45; 
	BaseDefence[35] = 48;
	BaseSpeed[35] =  35;
	BaseSpecial[35] = 60;

	//BaseStats Clefable
	BaseHP[36] = 95;
	BaseAttack[36] = 70; 
	BaseDefence[36] = 73;
	BaseSpeed[36] =  60;
	BaseSpecial[36] = 85;
	
	//BaseStats Vulpix
	BaseHP[37] = 38;
	BaseAttack[37] = 41; 
	BaseDefence[37] = 40;
	BaseSpeed[37] =  65;
	BaseSpecial[37] = 65;

	//BaseStats Ninetails
	BaseHP[38] = 73;
	BaseAttack[38] = 76; 
	BaseDefence[38] = 75;
	BaseSpeed[38] =  100;
	BaseSpecial[38] = 100;

	//BaseStats Jigglypuff
	BaseHP[39] = 115;
	BaseAttack[39] = 45; 
	BaseDefence[39] = 20;
	BaseSpeed[39] =  20;
	BaseSpecial[39] = 25;

	//BaseStats Wigglytuff 
	BaseHP[40] = 140;
	BaseAttack[40] = 70; 
	BaseDefence[40] = 45;
	BaseSpeed[40] =  45;
	BaseSpecial[40] = 50;

	//BaseStats Zubat
	BaseHP[41] = 40;
	BaseAttack[41] = 45; 
	BaseDefence[41] = 35;
	BaseSpeed[41] =  55;
	BaseSpecial[41] = 40;

	//BaseStats Golbat
	BaseHP[42] = 75;
	BaseAttack[42] = 80; 
	BaseDefence[42] = 70;
	BaseSpeed[42] =  90;
	BaseSpecial[42] = 75;

	//BaseStats Oddish
	BaseHP[43] = 45;
	BaseAttack[43] = 50; 
	BaseDefence[43] = 55;
	BaseSpeed[43] =  30;
	BaseSpecial[43] = 75;

	//BaseStats Gloom
	BaseHP[44] = 60;
	BaseAttack[44] = 65; 
	BaseDefence[44] = 70;
	BaseSpeed[44] =  40;
	BaseSpecial[44] = 85;

	//BaseStats Vileplume
	BaseHP[45] = 75;
	BaseAttack[45] = 80; 
	BaseDefence[45] = 85;
	BaseSpeed[45] =  50;
	BaseSpecial[45] = 100;

	//BaseStats Paras
	BaseHP[46] = 35;
	BaseAttack[46] = 70; 
	BaseDefence[46] = 55;
	BaseSpeed[46] =  25;
	BaseSpecial[46] = 55;

	//BaseStats Parasect
	BaseHP[47] = 60;
	BaseAttack[47] = 95; 
	BaseDefence[47] = 80;
	BaseSpeed[47] =  30;
	BaseSpecial[47] = 80;

	//BaseStats Venonat
	BaseHP[48] = 60;
	BaseAttack[48] = 55; 
	BaseDefence[48] = 50;
	BaseSpeed[48] =  45;
	BaseSpecial[48] = 40;

	//BaseStats Venomoth
	BaseHP[49] = 70;
	BaseAttack[49] = 65; 
	BaseDefence[49] = 60;
	BaseSpeed[49] =  90;
	BaseSpecial[49] = 90;

	//BaseStats Diglett
	BaseHP[50] = 10;
	BaseAttack[50] = 55; 
	BaseDefence[50] = 25;
	BaseSpeed[50] =  95;
	BaseSpecial[50] = 45;

	//BaseStats Dugtrio
	BaseHP[51] = 35;
	BaseAttack[51] = 80; 
	BaseDefence[51] = 50;
	BaseSpeed[51] =  120;
	BaseSpecial[51] = 70;
	//Types
	//0 = None
	//1 = Normal
	//2 = Fire
	//3 = Water
	//4 = Electric
	//5 = Grass
	//6 = Ice
	//7 = Fighting
	//8 = Poison
	//9 = Ground
	//10 = Flying
	//11 = Psychic
	//12 = Bug
	//13 = Rock
	//14 = Ghost
	//15 = Dragon
	//16 = Dark
	//17 = Steel

	//Types for None
	RBYType1[0] = 0;
    RBYType2[0] = 0;

	//Types for Bulbasaur
	RBYType1[1] = 5;
    RBYType2[1] = 8;
	
	//Types for Ivysaur
	RBYType1[2] = 5;
    RBYType2[2] = 8;

	//Types for Venasaur
	RBYType1[3] = 5;
    RBYType2[3] = 8;



	// Enabling Windows XP visual effects before any controls are created
	Application::EnableVisualStyles();
	Application::SetCompatibleTextRenderingDefault(false); 

	// Create the main window and run it
	//Application::Run(gcnew Form1());
	Application::Run(gcnew QuickStart());
	//Application::Run(gcnew TeamBuilder());
	return 0;
}
 